package com.itheima.chapter03.service;

import com.itheima.chapter03.entity.Discuss;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface DiscussService {
    /**
     * 根据id查找
     * @param id
     * @return
     */
    Discuss findById(Integer id);

    List<Discuss> list(int aId, int pageNo, int pageSize);
}
